#ifndef BASEBTNWIDGET_H
#define BASEBTNWIDGET_H

#include <QWidget>

class BaseBtnWidget : public QWidget
{
    Q_OBJECT
public:
    explicit BaseBtnWidget(QWidget *parent = 0);

    void mousePressEvent(QMouseEvent *e);
    void mouseReleaseEvent(QMouseEvent *e);
    void mouseMoveEvent(QMouseEvent *e);

    int             m_state;
    QSizeF          m_size;
signals:
    void myclick();
public slots:

};

#endif // BASEBTNWIDGET_H
